QT       += core gui network sql charts serialport websockets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Controller/HttpClientController.cpp \
    Controller/SerialController.cpp \
    Controller/modbusrtucontroller.cpp \
    Manager/DispatchCore.cpp \
    Manager/HttpClientManager.cpp \
    Monitor/PortStateMonitor.cpp \
    Monitor/ServerUdpMonitor.cpp \
    MotorManager/KincoServoManager.cpp \
    MotorManager/KincoStepManager.cpp \
    MotorManager/RmServoManager.cpp \
    Sqlite/DeviceDBManager.cpp \
    Sqlite/SqliteDB.cpp \
    Sqlite/TableDBManager.cpp \
    View/3rd/framelessdialog.cpp \
    View/DeviceSettingsTab.cpp \
    View/LoginDialog.cpp \
    View/SearchTab.cpp \
    View/arvindia.cpp \
    View/servocontrol.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    Base/Command.h \
    Base/Model.h \
    Controller/HttpClientController.h \
    Controller/SerialController.h \
    Controller/modbusrtucontroller.h \
    Manager/DispatchCore.h \
    Manager/HttpClientManager.h \
    Model/Base/MessageModel.h \
    Model/Base/PagedResultDto.h \
    Model/Base/ResponseModel.h \
    Model/Dto/ArchiveDto.h \
    Model/Dto/ArchiveRegisterRequest.h \
    Model/Dto/ArvSearchDto.h \
    Model/Dto/ConfigCommand.h \
    Model/Dto/ControlCommand.h \
    Model/Dto/DevArvCurLayerResponse.h \
    Model/Dto/DevArvSearchResponse.h \
    Model/Dto/DevArvStatistics.h \
    Model/Dto/DevLocationResponse.h \
    Model/Dto/DevRegRequest.h \
    Model/Dto/GeneralCmdResult.h \
    Model/Dto/ProbeCmdResult.h \
    Model/Dto/RfidMonitorCommand.h \
    Model/Dto/RfidMonitorRequest.h \
    Model/Dto/TableTitleCommand.h \
    Model/Dto/WarningRequest.h \
    Monitor/PortStateMonitor.h \
    Monitor/ServerUdpMonitor.h \
    MotorManager/KincoServoManager.h \
    MotorManager/KincoStepManager.h \
    MotorManager/RmServoManager.h \
    Sqlite/DeviceDBManager.h \
    Sqlite/SqliteDB.h \
    Sqlite/TableDBManager.h \
    View/3rd/framelessdialog.h \
    View/DeviceSettingsTab.h \
    View/LoginDialog.h \
    View/MyChartView.h \
    View/SearchTab.h \
    View/arvindia.h \
    View/servocontrol.h \
    global.h \
    mainwindow.h \
    rapidjson/AIGCJson.hpp \
    rapidjson/allocators.h \
    rapidjson/cursorstreamwrapper.h \
    rapidjson/document.h \
    rapidjson/encodedstream.h \
    rapidjson/encodings.h \
    rapidjson/filereadstream.h \
    rapidjson/filewritestream.h \
    rapidjson/fwd.h \
    rapidjson/istreamwrapper.h \
    rapidjson/memorybuffer.h \
    rapidjson/memorystream.h \
    rapidjson/ostreamwrapper.h \
    rapidjson/pointer.h \
    rapidjson/prettywriter.h \
    rapidjson/rapidjson.h \
    rapidjson/reader.h \
    rapidjson/schema.h \
    rapidjson/stream.h \
    rapidjson/stringbuffer.h \
    rapidjson/uri.h \
    rapidjson/writer.h

FORMS += \
    View/DeviceSettingsTab.ui \
    View/LoginDialog.ui \
    View/SearchTab.ui \
    View/arvindia.ui \
    View/servocontrol.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    image.qrc

DISTFILES += \
    questions.txt
